package cn.star.jots.comments.service;

import cn.star.jots.comments.pojo.dto.CommentsQuery;
import cn.star.jots.comments.pojo.dto.CommentsSaveParam;
import cn.star.jots.comments.pojo.vo.CommentsVO;

import java.util.List;

public interface CommentsService {
    List<CommentsVO> search(CommentsQuery commentsQuery);

    List<CommentsVO> searchByUserId(String userId);

    void delete(Long id);

    void addComments(CommentsSaveParam commentsSaveParam);

    List<CommentsVO> searchAll(CommentsQuery commentsQuery);
}
